﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>

<script type="text/javascript">
    function mysubmit() {
        var wftype_id = $("#wftype_id").val();
        var wftype_name = $("#wftype_name").val();
        var wftype_status = $("#wftype_status").val();
        $.ajax({
            url: "/WorkFlow/DoWFTypeUpdate",
            type: "POST",
            data: { "wftype_id": wftype_id, "wftype_name": wftype_name, "wftype_status": wftype_status },
            success: function(data) {
                $("#workarea").html(data);
            }
        })
    }


</script>

<div id="wftypeshow">
    <%=Html.Hidden("wftype_id", ViewData["wftype_id"])%>
    类型名称：<%=Html.TextBox("wftype_name", ViewData["wftype_name"])%>
    <br />
    状态：<%=Html.DropDownList("wftype_status", ViewData["list_wftypestatus"] as List<SelectListItem>)%><br />
    <input type="button" value="确定" onclick="mysubmit()" />
</div>
